#pragma once

#include <stddef.h>
#include <stdint.h>

#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)

typedef int8_t i8_s;
typedef int16_t i16_s;
typedef int32_t i32_s;
typedef int64_t i64_s;
typedef intptr_t iword_s;

typedef uint8_t u8_s;
typedef uint16_t u16_s;
typedef uint32_t u32_s;
typedef uint64_t u64_s;
typedef uintptr_t uword_s;

typedef u8_s bool8_s;
typedef u16_s bool16_s;
typedef u32_s bool32_s;
typedef u64_s bool64_s;
typedef uword_s bool_word_s;
